package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.MoBankLinkno;

import java.util.*;
public class MoBankLinknoExample extends SgExample<MoBankLinknoExample.Criteria> {
    public static final Class<MoBankLinkno> beanClass = MoBankLinkno.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn bankCard;
    public static EntityColumn province;
    public static EntityColumn city;
    public static EntityColumn district;
    public static EntityColumn bankName;
    public static EntityColumn bankLocation;
    public static EntityColumn linkno;
    public static EntityColumn linknoId;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        bankCard = listMap.get("bankCard");
        province = listMap.get("province");
        city = listMap.get("city");
        district = listMap.get("district");
        bankName = listMap.get("bankName");
        bankLocation = listMap.get("bankLocation");
        linkno = listMap.get("linkno");
        linknoId = listMap.get("linknoId");
        }

    public MoBankLinknoExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected MoBankLinknoExample.Criteria createCriteriaInternal() {
        return new MoBankLinknoExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public MoBankLinknoExample.Criteria andBankCardIsNull() {
            return isNull(bankCard);
        }

        public MoBankLinknoExample.Criteria andBankCardIsNotNull() {
            return isNotNull(bankCard);
        }

        public MoBankLinknoExample.Criteria andBankCardEqualTo(String value) {
            return equalTo(bankCard, value);
        }

        public MoBankLinknoExample.Criteria andBankCardNotEqualTo(String value) {
            return notEqualTo(bankCard, value);
        }

        public MoBankLinknoExample.Criteria andBankCardGreaterThan(String value) {
            return greaterThan(bankCard, value);
        }

        public MoBankLinknoExample.Criteria andBankCardGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(bankCard, value);
        }

        public MoBankLinknoExample.Criteria andBankCardLessThan(String value) {
            return lessThan(bankCard, value);
        }

        public MoBankLinknoExample.Criteria andBankCardLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(bankCard, value);
        }

        public MoBankLinknoExample.Criteria andBankCardLike(String value) {
            return like(bankCard, value);
        }

        public MoBankLinknoExample.Criteria andBankCardNotLike(String value) {
            return notLike(bankCard, value);
        }

        public MoBankLinknoExample.Criteria andBankCardIn(List<String> values) {
            return in(bankCard, values);
        }

        public MoBankLinknoExample.Criteria andBankCardNotIn(List<String> values) {
            return notIn(bankCard, values);
        }

        public MoBankLinknoExample.Criteria andBankCardBetween(String value1, String value2) {
            return between(bankCard, value1, value2);
        }

        public MoBankLinknoExample.Criteria andBankCardNotBetween(String value1, String value2) {
            return notBetween(bankCard, value1, value2);
        }
        public MoBankLinknoExample.Criteria andProvinceIsNull() {
            return isNull(province);
        }

        public MoBankLinknoExample.Criteria andProvinceIsNotNull() {
            return isNotNull(province);
        }

        public MoBankLinknoExample.Criteria andProvinceEqualTo(String value) {
            return equalTo(province, value);
        }

        public MoBankLinknoExample.Criteria andProvinceNotEqualTo(String value) {
            return notEqualTo(province, value);
        }

        public MoBankLinknoExample.Criteria andProvinceGreaterThan(String value) {
            return greaterThan(province, value);
        }

        public MoBankLinknoExample.Criteria andProvinceGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(province, value);
        }

        public MoBankLinknoExample.Criteria andProvinceLessThan(String value) {
            return lessThan(province, value);
        }

        public MoBankLinknoExample.Criteria andProvinceLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(province, value);
        }

        public MoBankLinknoExample.Criteria andProvinceLike(String value) {
            return like(province, value);
        }

        public MoBankLinknoExample.Criteria andProvinceNotLike(String value) {
            return notLike(province, value);
        }

        public MoBankLinknoExample.Criteria andProvinceIn(List<String> values) {
            return in(province, values);
        }

        public MoBankLinknoExample.Criteria andProvinceNotIn(List<String> values) {
            return notIn(province, values);
        }

        public MoBankLinknoExample.Criteria andProvinceBetween(String value1, String value2) {
            return between(province, value1, value2);
        }

        public MoBankLinknoExample.Criteria andProvinceNotBetween(String value1, String value2) {
            return notBetween(province, value1, value2);
        }
        public MoBankLinknoExample.Criteria andCityIsNull() {
            return isNull(city);
        }

        public MoBankLinknoExample.Criteria andCityIsNotNull() {
            return isNotNull(city);
        }

        public MoBankLinknoExample.Criteria andCityEqualTo(String value) {
            return equalTo(city, value);
        }

        public MoBankLinknoExample.Criteria andCityNotEqualTo(String value) {
            return notEqualTo(city, value);
        }

        public MoBankLinknoExample.Criteria andCityGreaterThan(String value) {
            return greaterThan(city, value);
        }

        public MoBankLinknoExample.Criteria andCityGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(city, value);
        }

        public MoBankLinknoExample.Criteria andCityLessThan(String value) {
            return lessThan(city, value);
        }

        public MoBankLinknoExample.Criteria andCityLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(city, value);
        }

        public MoBankLinknoExample.Criteria andCityLike(String value) {
            return like(city, value);
        }

        public MoBankLinknoExample.Criteria andCityNotLike(String value) {
            return notLike(city, value);
        }

        public MoBankLinknoExample.Criteria andCityIn(List<String> values) {
            return in(city, values);
        }

        public MoBankLinknoExample.Criteria andCityNotIn(List<String> values) {
            return notIn(city, values);
        }

        public MoBankLinknoExample.Criteria andCityBetween(String value1, String value2) {
            return between(city, value1, value2);
        }

        public MoBankLinknoExample.Criteria andCityNotBetween(String value1, String value2) {
            return notBetween(city, value1, value2);
        }
        public MoBankLinknoExample.Criteria andDistrictIsNull() {
            return isNull(district);
        }

        public MoBankLinknoExample.Criteria andDistrictIsNotNull() {
            return isNotNull(district);
        }

        public MoBankLinknoExample.Criteria andDistrictEqualTo(String value) {
            return equalTo(district, value);
        }

        public MoBankLinknoExample.Criteria andDistrictNotEqualTo(String value) {
            return notEqualTo(district, value);
        }

        public MoBankLinknoExample.Criteria andDistrictGreaterThan(String value) {
            return greaterThan(district, value);
        }

        public MoBankLinknoExample.Criteria andDistrictGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(district, value);
        }

        public MoBankLinknoExample.Criteria andDistrictLessThan(String value) {
            return lessThan(district, value);
        }

        public MoBankLinknoExample.Criteria andDistrictLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(district, value);
        }

        public MoBankLinknoExample.Criteria andDistrictLike(String value) {
            return like(district, value);
        }

        public MoBankLinknoExample.Criteria andDistrictNotLike(String value) {
            return notLike(district, value);
        }

        public MoBankLinknoExample.Criteria andDistrictIn(List<String> values) {
            return in(district, values);
        }

        public MoBankLinknoExample.Criteria andDistrictNotIn(List<String> values) {
            return notIn(district, values);
        }

        public MoBankLinknoExample.Criteria andDistrictBetween(String value1, String value2) {
            return between(district, value1, value2);
        }

        public MoBankLinknoExample.Criteria andDistrictNotBetween(String value1, String value2) {
            return notBetween(district, value1, value2);
        }
        public MoBankLinknoExample.Criteria andBankNameIsNull() {
            return isNull(bankName);
        }

        public MoBankLinknoExample.Criteria andBankNameIsNotNull() {
            return isNotNull(bankName);
        }

        public MoBankLinknoExample.Criteria andBankNameEqualTo(String value) {
            return equalTo(bankName, value);
        }

        public MoBankLinknoExample.Criteria andBankNameNotEqualTo(String value) {
            return notEqualTo(bankName, value);
        }

        public MoBankLinknoExample.Criteria andBankNameGreaterThan(String value) {
            return greaterThan(bankName, value);
        }

        public MoBankLinknoExample.Criteria andBankNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(bankName, value);
        }

        public MoBankLinknoExample.Criteria andBankNameLessThan(String value) {
            return lessThan(bankName, value);
        }

        public MoBankLinknoExample.Criteria andBankNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(bankName, value);
        }

        public MoBankLinknoExample.Criteria andBankNameLike(String value) {
            return like(bankName, value);
        }

        public MoBankLinknoExample.Criteria andBankNameNotLike(String value) {
            return notLike(bankName, value);
        }

        public MoBankLinknoExample.Criteria andBankNameIn(List<String> values) {
            return in(bankName, values);
        }

        public MoBankLinknoExample.Criteria andBankNameNotIn(List<String> values) {
            return notIn(bankName, values);
        }

        public MoBankLinknoExample.Criteria andBankNameBetween(String value1, String value2) {
            return between(bankName, value1, value2);
        }

        public MoBankLinknoExample.Criteria andBankNameNotBetween(String value1, String value2) {
            return notBetween(bankName, value1, value2);
        }
        public MoBankLinknoExample.Criteria andBankLocationIsNull() {
            return isNull(bankLocation);
        }

        public MoBankLinknoExample.Criteria andBankLocationIsNotNull() {
            return isNotNull(bankLocation);
        }

        public MoBankLinknoExample.Criteria andBankLocationEqualTo(String value) {
            return equalTo(bankLocation, value);
        }

        public MoBankLinknoExample.Criteria andBankLocationNotEqualTo(String value) {
            return notEqualTo(bankLocation, value);
        }

        public MoBankLinknoExample.Criteria andBankLocationGreaterThan(String value) {
            return greaterThan(bankLocation, value);
        }

        public MoBankLinknoExample.Criteria andBankLocationGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(bankLocation, value);
        }

        public MoBankLinknoExample.Criteria andBankLocationLessThan(String value) {
            return lessThan(bankLocation, value);
        }

        public MoBankLinknoExample.Criteria andBankLocationLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(bankLocation, value);
        }

        public MoBankLinknoExample.Criteria andBankLocationLike(String value) {
            return like(bankLocation, value);
        }

        public MoBankLinknoExample.Criteria andBankLocationNotLike(String value) {
            return notLike(bankLocation, value);
        }

        public MoBankLinknoExample.Criteria andBankLocationIn(List<String> values) {
            return in(bankLocation, values);
        }

        public MoBankLinknoExample.Criteria andBankLocationNotIn(List<String> values) {
            return notIn(bankLocation, values);
        }

        public MoBankLinknoExample.Criteria andBankLocationBetween(String value1, String value2) {
            return between(bankLocation, value1, value2);
        }

        public MoBankLinknoExample.Criteria andBankLocationNotBetween(String value1, String value2) {
            return notBetween(bankLocation, value1, value2);
        }
        public MoBankLinknoExample.Criteria andLinknoIsNull() {
            return isNull(linkno);
        }

        public MoBankLinknoExample.Criteria andLinknoIsNotNull() {
            return isNotNull(linkno);
        }

        public MoBankLinknoExample.Criteria andLinknoEqualTo(String value) {
            return equalTo(linkno, value);
        }

        public MoBankLinknoExample.Criteria andLinknoNotEqualTo(String value) {
            return notEqualTo(linkno, value);
        }

        public MoBankLinknoExample.Criteria andLinknoGreaterThan(String value) {
            return greaterThan(linkno, value);
        }

        public MoBankLinknoExample.Criteria andLinknoGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(linkno, value);
        }

        public MoBankLinknoExample.Criteria andLinknoLessThan(String value) {
            return lessThan(linkno, value);
        }

        public MoBankLinknoExample.Criteria andLinknoLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(linkno, value);
        }

        public MoBankLinknoExample.Criteria andLinknoLike(String value) {
            return like(linkno, value);
        }

        public MoBankLinknoExample.Criteria andLinknoNotLike(String value) {
            return notLike(linkno, value);
        }

        public MoBankLinknoExample.Criteria andLinknoIn(List<String> values) {
            return in(linkno, values);
        }

        public MoBankLinknoExample.Criteria andLinknoNotIn(List<String> values) {
            return notIn(linkno, values);
        }

        public MoBankLinknoExample.Criteria andLinknoBetween(String value1, String value2) {
            return between(linkno, value1, value2);
        }

        public MoBankLinknoExample.Criteria andLinknoNotBetween(String value1, String value2) {
            return notBetween(linkno, value1, value2);
        }
        public MoBankLinknoExample.Criteria andLinknoIdIsNull() {
            return isNull(linknoId);
        }

        public MoBankLinknoExample.Criteria andLinknoIdIsNotNull() {
            return isNotNull(linknoId);
        }

        public MoBankLinknoExample.Criteria andLinknoIdEqualTo(Long value) {
            return equalTo(linknoId, value);
        }

        public MoBankLinknoExample.Criteria andLinknoIdNotEqualTo(Long value) {
            return notEqualTo(linknoId, value);
        }

        public MoBankLinknoExample.Criteria andLinknoIdGreaterThan(Long value) {
            return greaterThan(linknoId, value);
        }

        public MoBankLinknoExample.Criteria andLinknoIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(linknoId, value);
        }

        public MoBankLinknoExample.Criteria andLinknoIdLessThan(Long value) {
            return lessThan(linknoId, value);
        }

        public MoBankLinknoExample.Criteria andLinknoIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(linknoId, value);
        }

        public MoBankLinknoExample.Criteria andLinknoIdIn(List<Long> values) {
            return in(linknoId, values);
        }

        public MoBankLinknoExample.Criteria andLinknoIdNotIn(List<Long> values) {
            return notIn(linknoId, values);
        }

        public MoBankLinknoExample.Criteria andLinknoIdBetween(Long value1, Long value2) {
            return between(linknoId, value1, value2);
        }

        public MoBankLinknoExample.Criteria andLinknoIdNotBetween(Long value1, Long value2) {
            return notBetween(linknoId, value1, value2);
        }
    }
}